import './inde.scss'
 const cartFooter = ({changeAllSelect,isAllChecked}) => {
  return (
    <div className="cart-footer">
      <div className="custom-control custom-checkbox">
        <input type="checkbox" checked={isAllChecked} className="custom-control-input" onChange={(e)=>changeAllSelect(e.target.checked)} id="footerCheck" />
        <label className="custom-control-label" htmlFor="footerCheck" >全选</label>
      </div>
      <div>
        <span>合计:</span>
        <span className="price">¥ 100</span>
      </div>
      <button type="button" className="footer-btn btn btn-primary">结算 (0)</button>
    </div>
  )
}
export default cartFooter